//
//  Callback.swift
//  Inquiry
//
//  Created by SSD on 2019/9/3.
//  Copyright © 2019 SSD. All rights reserved.
//
import UIKit
import Foundation
///网络请求回调

typealias RequestCallback = (_ responseCode:ResponseCode, _ data:Any?) -> ()
typealias ProgressCallback = (_ progress:Progress) -> ()

typealias ErrorCallback = (_ error:NSError?) -> ()

typealias CellSubviewCallback = (_ subview:UIView, _ data:Any?) -> ()

typealias ObjectCallback = (_ object:Any?) -> ()

typealias EmptyCallback = () -> ()
